import { Game } from './Game'

// 创建画布
const canvas = wx.createCanvas()

// 获取系统信息
const systemInfo = wx.getSystemInfoSync()
canvas.width = systemInfo.windowWidth
canvas.height = systemInfo.windowHeight

// 创建游戏实例
const game = new Game(canvas)

// 启动游戏
game.start()

console.log('游戏已启动，画布尺寸:', canvas.width, 'x', canvas.height) 